CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)

GAddSource(GParallel.cpp			LISTS SourceList)
GAddSource(GParallel.h 				LISTS SourceList HeaderList)

GAddSource(GParallelForInternal.cpp	LISTS SourceList)
GAddSource(GParallelForInternal.h 	LISTS SourceList)

GAddSource(GParallelForTask.cpp		LISTS SourceList)
GAddSource(GParallelForTask.h 		LISTS SourceList HeaderList)

GAddSource(GParallelReduce.cpp		LISTS SourceList)
GAddSource(GParallelReduce.h 		LISTS SourceList HeaderList)

GAddSource(GParallelSort.cpp		LISTS SourceList)
GAddSource(GParallelSort.h 			LISTS SourceList HeaderList)

GAddSource(GRange.cpp				LISTS SourceList)
GAddSource(GRange.h 				LISTS SourceList HeaderList)

GAddSource(GTask.cpp				LISTS SourceList)
GAddSource(GTask.h 					LISTS SourceList HeaderList)

GAddSource(GTaskManager.cpp			LISTS SourceList)
GAddSource(GTaskManager.h 			LISTS SourceList HeaderList)

GAddSource(GTaskResult.cpp			LISTS SourceList)
GAddSource(GTaskResult.h 			LISTS SourceList HeaderList)

GAddSource(GTaskQueue.cpp			LISTS SourceList)
GAddSource(GTaskQueue.h 			LISTS SourceList HeaderList)

GAddSource(GWorkerThread.cpp		LISTS SourceList)
GAddSource(GWorkerThread.h 			LISTS SourceList HeaderList)

GAddLibrary(GTask HEADERS ${HeaderList} SOURCES ${SourceList})

GLinkLibrary(GTask LIBS GThread GUtilities)

GGroupProject(GTask "Engine")